export const mergeStyle = (style, ...classNames) => {
    const val = classNames.reduce((result, names = '') => {
        names.split(' ').filter(Boolean).forEach(item => result.push(style[item]))
        return result
    }, []).filter(Boolean).join(' ')

    return val
}